package com.huajx.core.common;

import java.util.List;

/**
 * 分布
 * @param <T>
 */
public class Paginate<T> {
    private int pi;
    private int ps;
    private int total;
    private List<T> list;
    private boolean pageShow=true;

    public boolean isPageShow() {
        return pageShow;
    }

    public void setPageShow(boolean pageShow) {
        this.pageShow = pageShow;
    }

    public int getPi() {
        return pi;
    }

    public void setPi(int pi) {
        this.pi = pi;
    }

    public int getPs() {
        return ps;
    }

    public void setPs(int ps) {
        this.ps = ps;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
